﻿using System;

namespace DBMock.Builders.Attributes
{
    /// <summary>
    /// 字符串整数builder
    /// </summary>
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
    public class StrIntBuilderAttribute : BaseBuilderAttribute
    {
        /// <summary>
        /// 初始化StrIntBuilderAttribute
        /// </summary>
        /// <param name="min">最小值</param>
        /// <param name="max">最大值</param>
        /// <param name="format">格式</param>
        public StrIntBuilderAttribute(int min = 0, int max = int.MaxValue, string format = "D2")
            : base(typeof(StrIntBuilder), min, max, format)
        {
        }
    }
}
